package com.hca.training.zk.javabasic.baseTest;

import  java.util.Scanner;
public class Testswitch {
    public static void main(String[] arg0)
    {
        System.out.println(~3);
        int a=10;
        int b=20;
        a=a^b;
        b=a^b;
        a=a^b;
        System.out.println("a:"+a+"   b:"+b);
        a=3;
        switch (a)
        {
            case 1:
                a++;
                break;
            case 2:
            case 3:
                a=a+3;
            case 4:
                a=a+4;
                break;
        }
        System.out.println(a);
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入你需要的值");
       String s= scanner.nextLine();
        System.out.println("您输出的是："+s);
        byte as=(byte)130;
        System.out.println(as);
    }
}
